package com.ruoyi.hbs.service;

import com.ruoyi.hbs.domain.MsfxBusinessStatistics;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface MsfxBusinessStatisticsService extends IService<MsfxBusinessStatistics>{

    /**
     * 按商业统计报表数据
     * @return List<MsfxBusinessStatistics> 统计结果列表
     */
    @Transactional(rollbackFor = Exception.class)
    List<MsfxBusinessStatistics> syncBusinessStatisticsReport();

    /**
     * 按商业统计报表数据
     * @return List<MsfxBusinessStatistics> 统计结果列表
     */
    List<MsfxBusinessStatistics> syncBusinessStatisticsDataList();
}
